package com.hskn.hss.module.tlempsalary.to;

import com.hskn.hss.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@ApiModel(value = "人员基本工资支出薪资明细请求体-列表", description = "人员基本工资支出薪资明细请求体-列表")
@Data
@EqualsAndHashCode(callSuper = false)
public class TlEmpSalaryListTO extends BaseEntity implements Serializable {

    @ApiModelProperty(value = "姓名", name = "name", example = "")
    private String name;

    @ApiModelProperty(value = "开始时间", name = "startdate", example = "")
    private String startdate;

    @ApiModelProperty(value = "结束时间", name = "enddate", example = "")
    private String enddate;

    @ApiModelProperty(value = "身份证号", name = "idcard", example = "")
    private String idcard;

    @ApiModelProperty(value = "工号", name = "cardnum", example = "")
    private String cardnum;

    @ApiModelProperty(value = "页数", name = "page", example = "1", required = true)
    @NotNull(message = "页数不能为空")
    private Long page;

    @ApiModelProperty(value = "每页数量", name = "size", example = "10", required = true)
    @NotNull(message = "每页数量不能为空")
    private Long size;


}
